package com.taobao.org.mapper;

import com.taobao.basic.mapper.BaseMapper;
import com.taobao.org.domain.Shop;
import com.taobao.org.dto.ShopDto;

import java.util.List;

public interface ShopMapper extends BaseMapper<Shop> {

    /**
     * 检验店铺是否被注册过
     * @param shop
     * @return
     */
    Shop getShopByMessage(Shop shop);

    /**
     * 返回echarts数据
     * @return
     */
    List<ShopDto> getEcharts();

}
